package org.grc.app.z_project.z_framework.bean;

import java.lang.reflect.Method;

/**
 * 封装 Action信息
 * 
 * @author grc
 * @since 1.0-SNAPSHOT
 */
public class Handler {

	/**
	 * Controller 类
	 */
	private Class<?> controllerClass = null;
	
	/**
	 * Action 方法
	 */
	private Method actionMethod = null;

	// 构造方法
	public Handler (Class<?> controllerClass, Method actionMethod) {
		this.controllerClass = controllerClass;
		this.actionMethod = actionMethod;
	}
	
	public Class<?> getControllerClass() {
		return controllerClass;
	}

	public Method getActionMethod() {
		return actionMethod;
	}
}
